﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Device.ViewModels
{
    public class JueYuanNaiYaViewModel:BindableBase
    {
        private int menuIndex = 0;
        /// <summary>
        /// 菜单索引
        /// </summary>
        public int MenuIndex
        {
            get { return menuIndex; }
            set { SetProperty(ref menuIndex, value); }
        }
        private bool hasIr = false;
        /// <summary>
        /// 绝阻功能
        /// </summary>
        public bool HasIr
        {
            get { return hasIr; }
            set { SetProperty(ref hasIr, value); }
        }
        private bool hasDcw = false;
        /// <summary>
        /// 直流耐压功能
        /// </summary>
        public bool HasDcw
        {
            get { return hasDcw; }
            set { SetProperty(ref hasDcw, value); }
        }
        private bool hasAcw = false;
        /// <summary>
        /// 交流耐压功能
        /// </summary>
        public bool HasAcw
        {
            get { return hasAcw; }
            set { SetProperty(ref hasAcw, value); }
        }
        private bool hasLc = false;
        /// <summary>
        /// 漏电流功能
        /// </summary>
        public bool HasLc
        {
            get { return hasLc; }
            set { SetProperty(ref hasLc, value); }
        }
        private string irVol;
        /// <summary>
        /// 绝阻输出电压
        /// </summary>
        public string IrVol
        {
            get { return irVol; }
            set { SetProperty(ref irVol, value); }
        }
        private string irUpTime;
        /// <summary>
        /// 绝阻输出电压上升时间
        /// </summary>
        public string IrUpTime
        {
            get { return irUpTime; }
            set { SetProperty(ref irUpTime, value); }
        }
        private string irKeepTime;
        /// <summary>
        /// 绝阻输出电压保持时间
        /// </summary>
        public string IrKeepTime
        {
            get { return irKeepTime; }
            set { SetProperty(ref irKeepTime, value); }
        }
        private string irDownTime;
        /// <summary>
        /// 绝阻输出电压下降时间
        /// </summary>
        public string IrDownTime
        {
            get { return irDownTime; }
            set { SetProperty(ref irDownTime, value); }
        }
        private string irMin;
        /// <summary>
        /// 绝阻最小值
        /// </summary>
        public string IrMin
        {
            get { return irMin; }
            set { SetProperty(ref irMin, value); }
        }
        private string irMax;
        /// <summary>
        /// 绝阻最大值
        /// </summary>
        public string IrMax
        {
            get { return irMax; }
            set { SetProperty(ref irMax, value); }
        }
        private string dcwVol;
        /// <summary>
        /// 直流耐压输出电压值
        /// </summary>
        public string DcwVol
        {
            get { return dcwVol; }
            set { SetProperty(ref dcwVol, value); }
        }
        private string dcwUpTime;
        /// <summary>
        /// 直流耐压输出电压上升时间
        /// </summary>
        public string DcwUpTime
        {
            get { return dcwUpTime; }
            set { SetProperty(ref dcwUpTime, value); }
        }
        private string dcwKeepTime;
        /// <summary>
        /// 直流耐压输出电压保持时间
        /// </summary>
        public string DcwKeepTime
        {
            get { return dcwKeepTime; }
            set { SetProperty(ref dcwKeepTime, value); }
        }
        private string dcwDownTime;
        /// <summary>
        /// 直流耐压输出电压下降时间
        /// </summary>
        public string DcwDownTime
        {
            get { return dcwDownTime; }
            set { SetProperty(ref dcwDownTime, value); }
        }
        private string dcwMin;
        /// <summary>
        /// 直流耐压下限
        /// </summary>
        public string DcwMin
        {
            get { return dcwMin; }
            set { SetProperty(ref dcwMin, value); }
        }
        private string dcwMax;
        /// <summary>
        /// 直流耐压上限
        /// </summary>
        public string DcwMax
        {
            get { return dcwMax; }
            set { SetProperty(ref dcwMax, value); }
        }
        private string dcwArc;
        /// <summary>
        /// 直流耐压电弧值
        /// </summary>
        public string DcwArc
        {
            get { return dcwArc; }
            set { SetProperty(ref dcwArc, value); }
        }
        private string acwVol;
        /// <summary>
        /// 交流耐压电压值
        /// </summary>
        public string AcwVol
        {
            get { return acwVol; }
            set { SetProperty(ref acwVol, value); }
        }
        private string acwUpTime;
        /// <summary>
        /// 交流耐压上升时间
        /// </summary>
        public string AcwUpTime
        {
            get { return acwUpTime; }
            set { SetProperty(ref acwUpTime, value); }
        }
        private string acwKeepTime;
        /// <summary>
        /// 交流耐压保持时间
        /// </summary>
        public string AcwKeepTime
        {
            get { return acwKeepTime; }
            set { SetProperty(ref acwKeepTime, value); }
        }
        private string acwDownTime;
        /// <summary>
        /// 交流耐压下降时间
        /// </summary>
        public string AcwDownTime
        {
            get { return acwDownTime; }
            set { SetProperty(ref acwDownTime, value); }
        }
        private string acwMin;
        /// <summary>
        /// 交流耐压最小值
        /// </summary>
        public string AcwMin
        {
            get { return acwMin; }
            set { SetProperty(ref acwMin, value); }
        }
        private string acwMax;
        /// <summary>
        /// 交流耐压最大值
        /// </summary>
        public string AcwMax
        {
            get { return acwMax; }
            set { SetProperty(ref acwMax, value); }
        }
        private string acwArc;
        /// <summary>
        /// 交流耐压电弧
        /// </summary>
        public string AcwArc
        {
            get { return acwArc; }
            set { SetProperty(ref acwArc, value); }
        }
        private string arcUnit;
        /// <summary>
        /// 电弧单位
        /// </summary>
        public string ArcUnit
        {
            get { return arcUnit; }
            set { SetProperty(ref arcUnit, value); }
        }
        private string lcVol;
        /// <summary>
        /// 漏电流输出电压
        /// </summary>
        public string LcVol
        {
            get { return lcVol; }
            set { SetProperty(ref lcVol, value); }
        }
        private string lcCur;
        /// <summary>
        /// 漏电流输出电流
        /// </summary>
        public string LcCur
        {
            get { return lcCur; }
            set { SetProperty(ref lcCur, value); }
        }
        private string lcUpTime;
        /// <summary>
        /// 漏电流电压上升时间
        /// </summary>
        public string LcUpTime
        {
            get { return lcUpTime; }
            set { SetProperty(ref lcUpTime, value); }
        }
        private string lcKeepTime;
        /// <summary>
        /// 漏电流电压保持时间
        /// </summary>
        public string LcKeepTime
        {
            get { return lcKeepTime; }
            set { SetProperty(ref lcKeepTime, value); }
        }

        private string lcMin;
        /// <summary>
        /// 漏电流最小值
        /// </summary>
        public string LcMin
        {
            get { return lcMin; }
            set { SetProperty(ref lcMin, value); }
        }
        private string lcMax;
        /// <summary>
        /// 漏电流最大值
        /// </summary>
        public string LcMax
        {
            get { return lcMax; }
            set { SetProperty(ref lcMax, value); }
        }
    }
}
